function editcategories() {
	$('#dialog').dialog({autoOpen: false, 
	height: 475, 
	width: 900, 
	modal: true, 
	position: "center", 
	dialogClass: 'selection_dialog', 
	title: 'Edit Categories', 
	close: function(){
		refreshcats();
	}																																														});
	$('#dialog').dialog('open');
}
 
function closecats() {
	$('#dialog').dialog('close');
	
}
